package com.xj.impl;

import com.xj.dao.XjDao;
import com.xj.entity.Xj;
import com.xj.service.XjService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @version 1.0
 * @program: demo2
 * @packageName: com.xj.impl
 * @className XjServiceImpl
 * @description: TODO
 * @author: xj
 * @create: 2021-01-08 12:01:47
 **/
@Service
public class XjServiceImpl implements XjService {

    @Autowired
    private XjDao xjDao;

    @Override
    public List<Xj> getall() {
        return xjDao.getall();
    }
}
